package com.bite.deom3;

public class Test1 {
    public static void main(String[] args) throws CloneNotSupportedException {
        People people1 = new People("张三");
        People people2 =(People) people1.clone();
        //拷贝成功后，修改 people1 的值
        people1.m.money = 88.9f;

        //打印两个人的钱
        System.out.println(people1.m.money);
        System.out.println(people2.m.money);
    }
}
